package com.chuangke.mds.entity;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chuangke.admin.data.builder.DictDataBuilder;
import com.chuangke.common.constant.SysDictTypeConstants;
import com.chuangke.common.trans.annotation.Trans;
import com.chuangke.framework.model.BasicModel;

/**
 * @date : 2025-3-2
 */
@TableName("mds_technology_process_procedure")
public class TechnologyProcessProcedure extends BasicModel {

	private static final long serialVersionUID = -1110093553107403221L;
	
	/** 流程编号 */
	private String processId;
	/** 产品对应详情的工序ID */
	private String productDetailId;
	/** 工序名称 */
	private String name;
	/** 工序类型 */
	@Trans(dataBuilder= DictDataBuilder.class,dictType= SysDictTypeConstants.ZCHKCL_PROCEDURE_TYPE,key="type",ref="typeName")
	private String type;
	@TableField(exist = false)
	private String typeName;
	/** 排序 */
	private int sortNum;
	/** 执行状态 */
	private String executeStatus;
	/** 创建时间 */
	private Date creationDate;
	/** 最后修改时间 */
	private Date lastUpdateDate;
	/** 最后修改人 */
	private String lastUpdateBy;
	/** 最后更新ip */
	private Date lastUpdateIp;
	/** 版本 */
	private String version;
	/** 组织标识 */
	private String orgIdentity;
	/** 节点信息 */
	private String procedureData;
	/** 最后仿真信息 */
	private String simulateId;
	@TableField(exist = false)
	List<TechnologyProcessProcedureNode> node;

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getProductDetailId() {
		return productDetailId;
	}

	public void setProductDetailId(String productDetailId) {
		this.productDetailId = productDetailId;
	}

	public String getProcedureData() {
		return procedureData;
	}

	public void setProcedureData(String procedureData) {
		this.procedureData = procedureData;
	}

	public String getSimulateId() {
		return simulateId;
	}

	public void setSimulateId(String simulateId) {
		this.simulateId = simulateId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getSortNum() {
		return sortNum;
	}

	public void setSortNum(int sortNum) {
		this.sortNum = sortNum;
	}

	public String getExecuteStatus() {
		return executeStatus;
	}

	public void setExecuteStatus(String executeStatus) {
		this.executeStatus = executeStatus;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public String getLastUpdateBy() {
		return lastUpdateBy;
	}

	public void setLastUpdateBy(String lastUpdateBy) {
		this.lastUpdateBy = lastUpdateBy;
	}

	public Date getLastUpdateIp() {
		return lastUpdateIp;
	}

	public void setLastUpdateIp(Date lastUpdateIp) {
		this.lastUpdateIp = lastUpdateIp;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getOrgIdentity() {
		return orgIdentity;
	}

	public void setOrgIdentity(String orgIdentity) {
		this.orgIdentity = orgIdentity;
	}

	public List<TechnologyProcessProcedureNode> getNode() {
		return node;
	}

	public void setNode(List<TechnologyProcessProcedureNode> node) {
		this.node = node;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
}